package mythread.demo001;

public class MyThread17Test extends Thread {

    public static void main(String[] args) {

        try {
            MyThread17 myThread = new MyThread17();
            myThread.setDaemon(true);
            myThread.start();
            Thread.sleep(5000);
            System.out.println("离开不打印了");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }


    }
}
